<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <link rel="stylesheet" href="style.css" />
  <title>Animated Navigation</title>
</head>

<body>
  <!-- 1. 中央导航栏布局： -->
  <nav class="active" id="nav">
    <!-- 1.2 左：四个导航栏布局 "li+a" ->li + a！！！ -->
    <ul>
      <li><a href="#">Home</a></li>
      <li><a href="#">Works</a></li>
      <li><a href="#">About</a></li>
      <li><a href="#">Contact</a></li>
    </ul>

    <!-- 1.3 右：🔥🔥🔥按钮布局(通过两根线, 设置出来的???) -->
    <button class="icon" id="toggle">
      <div class="line line1"></div>
      <div class="line line2"></div>
    </button>
  </nav>

  <!-- 2. 将JS逻辑放最后, 先让dom结构进行加载, 提高性能 -->
  <script src="script.js"></script>

  <!-- Dribbble link: https://dribbble.com/shots/2427219-Header-Navigation-Day-053-dailyui -->
</body>

</html>